package org.jeecg.demo.wx.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.demo.wx.entity.Meeting;

import java.util.List;

/**
 * @author Jun
 * @date 2023/5/11 14:16
 * @description MeetingMapper
 */
@Mapper
@DS("oa")
public interface MeetingMapper extends BaseMapper<Meeting> {

    /**
     * 查找正常发布的会议
     * meetingstatus-0：草稿,1：待审批,2:正常,3:退回,4:取消,5:结束
     *
     * @return
     */
    List<Meeting> queryMeetingData(@Param("today") String today);
}